package com.example.testapp.activity.activity.read;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.example.testapp.R;

/**
 * Created by l on 2016/7/31.
 */
public class ListViewGroupTestActivity extends AppCompatActivity {


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.view_list_buttom);

        iniView();
    }

    private void iniView() {
        findViewById(R.id.btnViewHolder).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ListViewGroupTestActivity.this, NotifyTestActivity.class));
            }
        });

        findViewById(R.id.btnScrollHideListView).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ListViewGroupTestActivity.this, ChatItemListTestActivity.class));
            }
        });

        findViewById(R.id.btnFlexible).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ListViewGroupTestActivity.this, ScrollHideListActivity.class));
            }
        });

        findViewById(R.id.btnChatItem).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ListViewGroupTestActivity.this, FlexibleListViewTestActivity.class));
            }
        });

        findViewById(R.id.btnFocus).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(ListViewGroupTestActivity.this, FocusListViewTestActivity.class));
            }
        });
    }
}
